package com.zyh.mapper;

import com.zyh.entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectByEmailAndPassword(@Param("email") String email,@Param("password") String password);
    void insert(User user);
    void updateState(Integer userId);
    User selectByUserId(Integer userId);
}
